﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace baseSet.csBulider
{
    public class readerTxt
    {
        public static List<string> readCsv(string fileName)
        {
            List<string> ls = new List<string>();
            StreamReader fileReader = new StreamReader(fileName, System.Text.Encoding.Default);
            string strLine = "";
            while (strLine != null)
            {
                strLine = fileReader.ReadLine();
                //if (strLine != null && strLine.Length > 0)
                //{
                //    ls.Add(strLine.Split(','));
                //}
                ls.Add(strLine);

            }
            fileReader.Close();
            return ls;
        }
    }
}
